import { defHttp } from '/@/utils/http/axios';

interface IData {
	"id"?: string,
	"wardCode": string,
	"wardName": string,
	"inputCode"?: string,
	"hospitalCode"?: string,
	"hospitalName"?: string,
	"buildingNumber"?: string,
	"buildingFloor"?: string,
	"status"?: boolean,
	"organizationId"?: string
}

enum Api {
	count = 'Index/Count',
	Trees = 'Index/Trees',
	authMap = "Maps/Index"
}

export function getCount() {
	return defHttp.get({ url: Api.count });
}

export function getTrees() {
	return defHttp.get({ url: Api.Trees });
}
export function getauthMaps(params) {
	return defHttp.get({ url: Api.authMap, params });
}